{include file="./layout/header.html" /}
<body>
<div class="x-nav">
  <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:left" onClick="javaScript:history.go(-1)" title="返回">
    <i class="layui-icon" style="line-height:30px">&#xe65c;</i></a>

  <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
    <i class="layui-icon" style="line-height:30px">ဂ</i></a>
</div>
<div class="x-body">
  <div class="layui-row">
    <form class="layui-form layui-col-md12 x-so">
      <input class="layui-input" placeholder="开始日" name="start" id="start">
      <input class="layui-input" placeholder="截止日" name="end" id="end">
      <input type="text" name="username"  placeholder="请输入用户名" autocomplete="off" class="layui-input">
      <button class="layui-btn"  lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i></button>
    </form>
  </div>
  <xblock>
    <input type="hidden" id="sid" value="{$sid}">
    <!--<button class="layui-btn layui-btn-danger" onclick="delAll()"><i class="layui-icon"></i>批量删除</button>-->
    <button class="layui-btn" onclick="x_admin_show('添加','{:url("Conferemail/create")}?sid={$sid}')"><i class="layui-icon"></i>添加</button>
    {present name="$total"}
    <span class="x-right" style="line-height:40px">共有数据：<span >{$total}</span> 条</span>
    <input type="hidden" id="total" value="{$total}">
    {/present}
  </xblock>
  <table class="layui-table">
    <thead>
    <tr>
      <th>
        <div class="layui-unselect header layui-form-checkbox" lay-skin="primary"><i class="layui-icon">&#xe605;</i></div>
      </th>
      <th>排序</th>
      {if condition="$intrs.0.lm eq 0"}
      <th>标题</th>
      <th>title</th>
      <th>简介</th>
      <th>description</th>
      {else /}
      {/if}
      {if condition="$intrs.0.lm eq 1"}
      <th>标题</th>
      <th>简介</th>
      {else /}
      {/if}
      {if condition="$intrs.0.lm eq 2"}
      <th>title</th>
      <th>description</th>
      {else /}
      {/if}
      <th>添加时间</th>
      <!--<th>修改时间</th>-->
      <th>状态</th>
      <th>操作</th>
    </thead>
    <tbody id="contentbody">
    {volist name="intrs" id="v"}
    <tr>
      <td>
        <div class="layui-unselect layui-form-checkbox" lay-skin="primary" data-id='2'><i class="layui-icon">&#xe605;</i></div>
      </td>
      <td>{$v.number}</td>
      {if condition="$intrs.0.lm eq 0"}
      <td>{$v.zhtitle}</td>
      <td>{$v.entitle}</td>
      <td>{$v.zhdesc}</td>
      <td>{$v.endesc}</td>
      {else /}
      {/if}
      {if condition="$intrs.0.lm eq 1"}
      <td>{$v.zhtitle}</td>
      <td>{$v.zhdesc}</td>
      {else /}
      {/if}
      {if condition="$intrs.0.lm eq 2"}
      <td>{$v.entitle}</td>
      <td>{$v.endesc}</td>
      {else /}
      {/if}
      <td>{$v.created}</td>
      <!--<td>{$v.created}</td>-->
      <td class="td-status">
        {if condition="$v.status eq 1"}
        <span class="layui-btn layui-btn-normal layui-btn-mini">已启用</span>
        {else /}
        <span class="layui-btn layui-btn-normal layui-btn-mini layui-btn-disabled">已停用</span>
        {/if}
      </td>

      <td class="td-manage">
        <a onclick="member_stop(this,'10001')" href="javascript:;"  title="启用">
          <i class="layui-icon">&#xe601;</i>
        </a>
        <a title="编辑"  onclick="x_admin_show('编辑','{:url("Conferemail/details",array("id"=>$v["uid"],"sid"=>$intrs[0]["sid"]))}')" href="javascript:;">
        <i class="layui-icon">&#xe642;</i>
        </a>
        {if condition="$intrs.0.lm eq 0"}
        <a style="width: 15px">
          <ul class="layui-nav scul" style="">
            <li class="layui-nav-item " style="color: #0C0C0C" >
              <a href="javascript:;" style="color: #0C0C0C"><i style="font-size: 17px;" class="layui-icon">&#xe640;</i></a>
              <dl class="layui-nav-child"> <!-- 二级菜单 -->
                <dd><a onclick='member_del(this,"{$v.uid}","{$intrs.0.sid}","{$v.zhlang}")' href="javascript:;">仅中文</a></dd>
                <dd><a onclick='member_del(this,"{$v.uid}","{$intrs.0.sid}","{$v.enlang}")' href="javascript:;">仅英文</a></dd>
                <dd><a onclick='member_del(this,"{$v.uid}","{$intrs.0.sid}")' href="javascript:;">全删除</a></dd>
              </dl>
            </li>
          </ul>
        </a>
        {else/}
        <a title="删除" onclick='member_del(this,"{$v.uid}","{$intrs.0.sid}")' href="javascript:;"><i style="font-size: 17px;" class="layui-icon">&#xe640;</i></a>
        {/if}
      </td>
    </tr>
    {/volist}
    </tbody>
  </table>
  <div class="page">
    <div id="demo3"></div>
  </div>
</div>
<script type="text/javascript" src="__CDN__/admin/email/js/emailList.js" charset="utf-8"></script>
{include file="./layout/footer.html" /}